package ophiux.api.sdk.test.repair;

import ophiux.api.sdk.OphiuxApiException;
import ophiux.api.sdk.client.DefaultOphiuxClient_New;
import ophiux.api.sdk.client.IOphiuxClient;
import ophiux.api.sdk.request.repair.RepairQuestionTypeRequest;
import ophiux.api.sdk.response.repair.RepairQuestionTypeResponse;

public class repairQuestionType_TEST {
	public static void main(String[] args) {
		String url = "http://192.168.6.56:8080/ophiuxDataService2/ws/service?wsdl";
		String userName = "jiuyi160";
		String userPwd = "123456";
		String token = "123456";
		IOphiuxClient client = new DefaultOphiuxClient_New(url, userName, userPwd,token);
		RepairQuestionTypeRequest req = new RepairQuestionTypeRequest();
		req.setHOSPITAL_CODE("-1");
		
		RepairQuestionTypeResponse resp = null;
		try {
			resp = client.executor(req);

		} catch (OphiuxApiException e) {
			e.printStackTrace();
		}

		System.out.println(resp.toString());
	}
}
